<?php

namespace app\constant;

class CommonConstant
{
    const LOG_PAYPAL = 'PP';
    const LOG_CREDIT_CARD = 'Card';
    const LOG_FILE = 'file';
    const LOG_REQUEST = 'request';
    const MODE_LIVE_WORD = 'live';
    const MODE_SANDBOX_WORD = 'sandbox';
    const ORDER_HAS_PAYED_ERROR_CODE = 1130;
    const API_REQUEST_ERROR = 'S0001';

    const SHIPPING_PROTECTION_FEE = ['Shipping Protection'];

    const PAYMENT_TYPE_FIXED = 'fixed';
    const PAYMENT_TYPE_PERCENT = 'percent';
    const FIRST_PAY_KEY = 'first_pay';
    const SECOND_PAY_KEY = 'second_pay';

    const US_TZ = 'America/Los_Angeles';
    const CN_TZ = 'Asia/Shanghai';
    const US_16_HOUR = 16 * 60 * 60;
    const PAYMENT_EXCEPTION = 'Please change another Card or pay by PayPal';//创建订单异常信息
    const US_HOUR = 16;
    const FB_EVENT_PREVIEW = 1;
    const FB_EVENT_PURCHASE = 2;
    const TRAFFIC_SOURCE_FB = 1;
    const TRAFFIC_SOURCE_TK = 2;
    const ORDER_LOAGING_PATH = '/a/s/checkout/%s/credit-card-3ds-redirect-loading';
}